Platform Explorer / Nuxeo Platform 2023.16

Component org.nuxeo.ecm.platform.preview.restAPI.contrib

Resolution Order

705
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.preview.restAPI.contrib">

  <extension target="org.nuxeo.ecm.platform.ui.web.restAPI.service.PluggableRestletService"
    point="restlets">

    <documentation>
      GET /nuxeo/restAPI/preview/{repoId}/{docId}/{fieldPath}?subPath=(subPath)
    </documentation>

    <restletPlugin
      name="preview"
      class="org.nuxeo.ecm.platform.preview.restlet.PreviewRestlet"
      enabled="true"
      useSeam="false">
      <urlPatterns>
        <urlPattern>/preview/{repo}/{docid}/{fieldPath}/{subPath}</urlPattern>
        <urlPattern>/preview/{repo}/{docid}/{fieldPath}/</urlPattern>
      </urlPatterns>
    </restletPlugin>
  </extension>

</component>